﻿@namespace MudBlazor.Docs.Examples

<MudTimePicker Label="12 hours" AmPm="true" @bind-Time="time" ReadOnly="@readOnly" />
<MudSwitch @bind-Checked="@readOnly" Color="Color.Tertiary">ReadOnly</MudSwitch>

@code{
    TimeSpan? time = new TimeSpan(00, 45, 00);
    private bool readOnly;

}